Determines whether the specified list contains any of the following values.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public static bool ContainsAny<T>( this List<T> list, params T[] values ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function ContainsAny(Of T) ( _ list As List(Of T), _ ParamArray values As T() _ ) As Boolean |
Parameters
- list
- Type: System.Collections.Generic..::..List<(Of <(<'T>)>)>
The list.
- values
- Type: array<T>[]()[][]
The values.
Type Parameters
- T